package cn.dz.heima03;

/**
 * @ClassName Student
 * @package: cn.dz.heima03
 * @Description 学生类
 * @Author dz
 * @Date 2025/2/5 16:19
 * @Version 1.0
 **/
public class Student {
    //成员变量
    String name;
    int age;

    //成员方法
    public void study() {
        System.out.println("好好学习");
    }

    public void doHomework() {
        System.out.println("多做练习");
    }
}
